package com.navinfo.routeplan.entity

data class GetNaviDataResponse(val message: String, val code: Int, val task_id: String, val data_list: ArrayList<NaviData>)

data class NaviData(val id: String, val coordinate: ArrayList<Double>)

data class PostNaviDataRequest(val task_id: String, val data_list: ArrayList<RouteData>?)

data class RouteData(val id: String, val info: String, val device: String, val polyline: String) {
    constructor(id: String, info: String, device: String) : this(id, info, device, "")
}

data class PostNaviDataResponse(val message: String, val code: Int)